﻿/* 分页类型枚举 by match on 20110425 */
namespace ShopB2C.Core.Enums {
    /// <summary>
    /// 分页类型
    /// </summary>
    public enum PagerType {
        /// <summary>
        /// 分页字符串整页跳转
        /// </summary>
        EntireAndSkip,
        /// <summary>
        /// 上下页跳转
        /// </summary>
        PreviousAndNext,
        /// <summary>
        /// 上下页跳转带数字链接
        /// </summary>
        PreviousAndNextAndNum
    }
    /// <summary>
    /// 描述字符串
    /// </summary>
    public enum PagerTotal {
        /// <summary>
        /// 长描述字符串
        /// </summary>
        LongTotal,
        /// <summary>
        /// 短描述字符串
        /// </summary>
        ShortTotal
    }
    /// <summary>
    /// 分页资源文件关键字
    /// </summary>
    public enum PagerResourceKey {
        /// <summary>
        /// 长描述字符串, 默认为: 
        /// 共有 {0} 条记录, 共 {1} 页, 每页 {2} 条记录, 当前第 {3} 页, 每页显示 {4}
        /// </summary>
        LongTotal,
        /// <summary>
        /// 短描述字符串, 默认为: 
        /// 共 {0}, {1}/{2} 页
        /// </summary>
        ShortTotal,
        /// <summary>
        /// 前一页
        /// </summary>
        Previous,
        /// <summary>
        /// 后一页
        /// </summary>
        Next,
        /// <summary>
        /// 首页
        /// </summary>
        First,
        /// <summary>
        /// 末页
        /// </summary>
        Last,
        /// <summary>
        /// 转到
        /// </summary>
        Go
    }
}
